
import request from '@/utils/request'

export function confirmArriveAcceptanceOrder(data) {
  return request({
    url: '/api/am/order/confirm_arrive',
    method: 'post',
    data
  })
}

export function finishAcceptanceOrder(data) {
  return request({
    url: '/api/am/order/finish',
    method: 'post',
    data
  })
}

export function listAcceptanceOrder(data) {
  return request({
    url: '/api/am/order/list',
    method: 'post',
    data
  })
}

export function pageAcceptanceOrder(data) {
  return request({
    url: '/api/am/order/page',
    method: 'post',
    data
  })
}

export function orderListPreOptions() {
  return request({
    url: '/api/am/order/list_pre_options',
    method: 'get'
  })
}
